package org.dreamwork.jasmine2.web.controls.chart.settings;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2010-5-12
 * Time: 10:24:41
 */
public class PieChartSetting extends ChartSetting {
    public PieChartSetting () {
        this ("xml");
    }

    public PieChartSetting (String dataType) {
        super (dataType);

        addSection ("data_labels")
                .addAttribute (new ChartSettingAttribute ("show", "{title}: {percents}%", true))
                .addAttribute (new ChartSettingAttribute ("line_alpha", "80"));
    }
}